package com.newtouch.bxzs.database.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 添加/修改岗位参数VO:
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/5 15:16</td>
 * <td>tianshangzhu</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author tianshangzhu
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel("添加/修改岗位参数VO")
public class UpdatePositionVO {
    @ApiModelProperty(value = "岗位id，新增时为空，修改必传",example = "11")
    private String positionId;

    @ApiModelProperty(value = "岗位名称",example = "1",required = true)
    private String positionName;

    @ApiModelProperty(value = "岗位编码",example = "fwq",required = true)
    private String positionCode;

    @ApiModelProperty(value = "岗位描述",example = "11",required = true)
    private String positionDescription;

    @ApiModelProperty(value = "启用状态，修改需传",example = "1",required = true)
    private Integer enableFlag;

    @ApiModelProperty(value = "所属终端类型，1PC,2APP",example = "1",required = true)
    private String terminalType;

    @ApiModelProperty(value = "授权角色id集合数组")
    private List<String> roleIds;

    @ApiModelProperty(value = "操作类型，1添加/修改 2授权")
    private String operationType;

}
